
public class Statements2 {
	Statement st;
	Statements2 sts2;
	
	public Statements2 ( Statement st, Statements2 sts2){
		this.st = st;
		this.sts2 = sts2;
	}
	public String toString(){
		String ret = "";

		String s = "";
		if (st != null) {
			s +=  st.toString();
		}

		if (sts2 != null) {
			s += sts2.toString();
		}
		return ret + s;
	}
	public void check() throws SemanticException {
		if (st != null) {
			st.check();
		}
		if (sts2 != null) {
			sts2.check();
		}
	}
}
